package cc.higou.core.pojo;

import java.io.Serializable;

/**
 * 说明：
 * 商品的详情的实体类
 *
 * @author:dongxing
 * @time:--
 */

public class Item implements Serializable {

    /**
     * //混合类，库存的信息（包含商品的信息，颜色表的信息）
     */
    private SuperPojo sku;
    /**
     * //购买的数量
     */
    private Integer amount;
    /**
     * //库存的id
     */
    private Long skuId;
    /**
     * 判断是否有货
     */
    private Boolean isHave;

    public Boolean getHave() {
        return isHave;
    }

    public void setHave(Boolean have) {
        isHave = have;
    }

    public SuperPojo getSku() {
        return sku;
    }

    public void setSku(SuperPojo sku) {
        this.sku = sku;
    }

    public Integer getAmount() {
        return amount;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }


    public Long getSkuId() {
        return skuId;
    }

    public void setSkuId(Long skuId) {
        this.skuId = skuId;
    }

    @Override
    public String toString() {
        return "Item{" +
                "sku=" + sku +
                ", amount=" + amount +
                ", skuId=" + skuId +
                '}';
    }
}
